package com.patterns.templatemethod;

public class Test {
	public static void main(String[] args) {
		//办理开户业务
		BankBusinessTemplate template = new OpenAccountBusiness();
		template.process();//排队取号、办理开户业务、服务评分
		//办理取款业务
		BankBusinessTemplate template2 = new DrawMoneyBusiness();
		template2.process();//排队取号、办理取款业务、服务评分
	}
}
